import java.sql.*;
public class TestChen {
    public static void main(String[] a) throws Exception {
        Class.forName("org.h2.Driver");
        //connection to test db with sa as the user and no pw
        Connection conn = DriverManager.getConnection("jdbc:h2:~/test", "sa", "");
        // add application code here
        conn.close();
    }
}